﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinaer.Core.Helper
{
    public class ApiTokenHelper
    {
        /// <summary>
        /// 根据ApiToken 返回UserName
        /// </summary>
        /// <param name="apiToken"></param>
        /// <returns></returns>
        public static string GetUserNameWithApiToken(string apiToken)
        {
           return  GenerateTokenIDHelper.Decrypt(apiToken);        
        }
       
       
    }
}
